Token Formatting

You can apply formatting to tokens so that the information that replaces them will automatically fit certain characteristics, such as a certain date format, percentage, currency, decimal, number of digits, or other formatting. The Token Editor will help you insert and test token formatting. The standard for formatting a token is %(token#"expression"#), where token is the name of the token and expression is a .NET formatting expression.

Example: Sally wants to format the token for the field "Code" to always have four digits. She changes the Code token so it reads %(Code#"D4"#). If 23 is inserted in a token with this format, the result will be 0023.

Note: The regional settings such as date and currency are Windows regional settings found in the Control Panel for the computer running Workflow.

The types of formatting that can be applied to tokens in Workflow are: